home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 6 / csr_pos.zip / CSR_POS.C
Text File  |  1985-10-10  |  1KB  |  24 lines

  1. /****************************************************************************/
  2. /*                                                                          */
  3. /* This function was written by Jim Niederriter for the Lattice `C' Compiler*/
  4. /* on the IBM Personal Computer or compatible, running DOS 2.0.             */
  5. /*                                                                          */
  6. /* It requires that the system be booted with a CONFIG.SYS file on the boot */
  7. /* disk containing the record: DEVICE=ANSI.SYS                              */
  8. /*                                                                          */
  9. /* In addition, the ANSI.SYS file from the DOS 2.0 disk should also be on   */
  10. /* the boot disk.                                                           */
  11. /*                                                                          */
  12. /* See Chapter 13 of the DOS 2.0 Manual for further explanation.            */
  13. /*                                                                          */
  14. /****************************************************************************/
  15.  
  16. /*  csr_pos() */
  17. /*  this function postions the cursor at the line & col specified */
  18.  
  19. int csr_pos(line, col)
  20. int line, col;
  21. {
  22.      cprintf("\x1B[%d;%dH", line, col);
  23. }
  24.